<template>
  <div class="not-found" @click="goPrevPage">
    <p>网页走丢了, 点我返回上一页^_^</p>
    <p class="img-404">
      <img src="/imgs_404.png" alt="">
    </p>
  </div>
</template>
<script>
export default {
  methods: {
    goPrevPage() {
      this.$router.back()
    }
  }
}
</script>
<style lang="scss" scoped>
.not-found {
  box-sizing: border-box;
  padding: 50px 10px;
  text-align: center;
  color: #0092ff;
  font: 600 18px/1.2 '宋体';
  .img-404 {
    width: 100%;
    box-sizing: border-box;
    img {
      width: 100%;
    }
  }
}
</style>
